Computing straight skeletons of planar straight-line graphs based on motorcycle graphs
نویسندگان
چکیده
We present a simple algorithm for computing straight skeletons of planar straight-line graphs. We exploit the relation between motorcycle graphs and straight skeletons, and introduce a wavefront-propagation algorithm that circumvents the expensive search for the next split event. Our algorithm maintains the simplicity of the triangulation-based algorithm by Aichholzer and Aurenhammer but has a better worst-case complexity of O(n log n). Preliminary experiments with our implementation demonstrate that an actual runtime of O(n log n) can be expected in practice.
منابع مشابه
Approximating a Motorcycle Graph by a Straight Skeleton
We investigate how a straight skeleton can be used to approximate a motorcycle graph. We explain how to construct a planar straight-line graph G such that the straight skeleton of G reveals the motorcycle graph of M , for every given finite set M of motorcycles. An application of our construction is a proof of the Pcompleteness of the construction problem of straight skeletons of planar straigh...
متن کاملFaster Reductions for Straight Skeletons to Motorcycle Graphs
We give an algorithm that reduces the straight skeleton to the motorcycle graph in O(n log n) time for (weakly) simple polygons and O(n(log n) logm) time for a planar straight line graph with m connected components. The current fastest algorithms for computing motorcycle graphs are an O(n ) time algorithm for non-degenerate cases and O(n ) for degenerate cases. Together with our algorithm this ...
متن کاملA Fast Straight-Skeleton Algorithm Based on generalized Motorcycle Graphs
This paper deals with the fast computation of straight skeletons of planar straightline graphs (PSLGs) at an industrial-strength level. We discuss both the theoretical foundations of our algorithm and the engineering aspects of our implementation Bone. Our investigation starts with an analysis of the triangulation-based algorithm by Aichholzer and Aurenhammer and we prove the existence of flip-...
متن کاملComputing Mitered Offset Curves Based on Straight Skeletons
We study the practical computation of mitered and beveled offset curves of planar straight-line graphs (PSLGs), i.e., of arbitrary collections of straight-line segments in the plane that do not intersect except possibly at common end points. The line segments can, but need not, form polygons. Similar to Voronoi-based offsetting, we propose to compute a straight skeleton of the input PSLG as a p...
متن کاملStraight-Line Drawability of a Planar Graph Plus an Edge
We investigate straight-line drawings of topological graphs that consist of a planar graph plus one edge, also called almost-planar graphs. We present a characterization of such graphs that admit a straight-line drawing. The characterization enables a linear-time testing algorithm to determine whether an almostplanar graph admits a straight-line drawing, and a linear-time drawing algorithm that...
متن کامل